<script src="{TPL}js/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="templates/default/js/jquery.cookies.2.1.0.min.js" type="text/javascript"></script>
<script type="text/javascript">
	//网站换肤
	$(function () {
	    var $li = $("#skinList li");  //查找到元素
	    $li.click(function () {   //给元素添加事件
	        switchSkin(this.id);//调用函数
	    });
	    //保存Cookie完毕以后就可以通过Cookie来获取当前的皮肤了
	    var cookie_skin = $.cookies.get("MyCssSkin");     //获取Cookie的值
	    if (cookie_skin) {                          //如果确实存在Cookie
	        switchSkin(cookie_skin);     //执行
	    }
	});
	function switchSkin(skinName) {  
	    $("#" + skinName).addClass("selected")                //当前<li>元素选中
	                       .siblings().removeClass("selected");  //去掉其他同辈<li>元素的选中
	    $("#cssfile").attr("href", "{TPL}css/" + skinName + ".css"); //设置不同皮肤
	    $.cookies.set("MyCssSkin", skinName, { path: '/', expires: 10 });  //保存Cookie
	}
</script>
<link id="cssfile" href="{TPL}css/layout.css" rel="stylesheet" type="text/css" />
<!-- 一键填单代码开始 -->
<link href="add/AddItemPanel.css" rel="stylesheet" type="text/css" />
<div class="addpanel_dialog" style="display: none;">
  <div class="addpanel_windowname">
    <h2>{lang Fill_a_key}</h2>
    <a id="closeBtn" title="{lang Close}"></a> </div>
  <div class="addpanel_inlay">
    <div id="p0"> <img src="/add/newimages/loading.gif" alt="{lang Loading}。。。" />
      <p> {lang Loading}…… </p>
    </div>
    <div id="p1"> </div>
    <div id="p2" style="display: none;"> </div>
    <div id="p3" style="display: none;"> </div>
  </div>
</div>
<div class="addpanel_overlay"> </div>
 <script src="{TPL}js/Gobal.js" type="text/javascript"></script>
<!-- 一键填单代码结束 -->

<div class="topPan">
	<div class="w960">
		<div class="w_50">
			{if empty($_USERS)}
                <div id="Gobal_LoginInfo">{lang hello}！{lang visitor} {lang please} <a href="{url_user.php?action=login}">[{lang login}]</a> {lang or} <a href="{url_user.php?action=register}">[{lang register}]</a></div>
			{else}
				<div id="Gobal_LoginInfo">{lang hello}！{$_USERS['uname']} [<a href="{url_user.php?action=quit}">{lang out}</a>]&nbsp;&nbsp;<a href="{url_m.php?name=pm}" target="_blank"><img src="{TPL}images/an2.gif" class="sms" alt="" />{lang SMS}<span class="orange">({$_USERS['pm']})</span></a></div>
			{/if}
		</div>
		<div class="w_50">
			<ul class="userProfile">
				<li><a target="_blank" id="Gobal_Shoppingcart" href="{url_shoppingcart.php}">{lang Shopping_Cart}<span class="orange">({$_CARTCOUNT})</span></a>&nbsp;&nbsp;|</li>
				<li><a href="{url_m.php}">{lang Member_Center}</a>&nbsp;&nbsp;|</li>
				<li><a href="{url_m.php?name=orderlist}">{lang My_Order}</a>&nbsp;&nbsp;|</li>
				<li><a href="{url_help.php}">{lang Help_Center}</a>&nbsp;&nbsp;|</li>
				<li id="Tools" class="top_tools"><a onclick="return false;" href="#">{lang Common_tools}</a>
					<ul class="tools" id="ToolsList" style="display:none">
						<li><a target="_blank" href="{url_page.php?action=estimates}">{lang Cost_estimates}</a></li>
						<li><a target="_blank" href="{url_page.php?action=measureconversion}">{lang Size_Conversion}</a></li>
						<li><a target="_blank" href="{url_page.php?action=postage}">{lang Shipping_prices}</a></li>
						<li><a target="_blank" href="http://www.123cha.com/hl/">{lang Exchange_rates}</a></li>
						<li><a target="_blank" href="{url_page.php?action=track}">{lang Package_Query}</a></li>
					</ul>
				</li>
            </ul>
		</div>
		<div class="clear"></div>
	</div>
</div>
<div class="w960 h100">
	<div class="logo left">
		<img src="{TPL}images/logo.gif" alt="" />
	</div>
	<div class="oneKey right">
		<div class="urlName left gray">{lang Buy_Website}：</div>
		<div class="url left"><input type="text" name="" id="CrawlUrl" class="left orange" value="http://" /></div>
		<div class="btn left white"><a class="noUnderLine" id="CrawlBtn" href="javascript:;">{lang Quick_Shopping}</a></div>				
	</div>
	<div class="tip left" id="CrawlPromt">{lang Purchasing_goods}！</div>
	<div class="clear"></div>
</div>
<div class="nav">
	<div class="w960">
	<ul>
	<li><a id="Default" href="/"><span class="nav_item"><strong>{lang index}</strong></span></a></li>
	<li><a id="see" href="{url_see.php}"><span class="nav_item"><strong>{lang Casual_look}</strong></span></a></li>
	<li><a id="demo" href="{url_demo.php}"><span class="nav_item"><strong>{lang Shopping_Demo}</strong></span></a></li>
	<li><a id="shop" href="{url_shop.php}"><span class="nav_item"><strong>{lang Free_Goods}</strong></span></a></li>
	<li><a id="recommend" href="{url_recommend.php}"><span class="nav_item"><strong>{lang Recommend}</strong></span></a></li>
	<li><a id="guestbook" href="{url_guestbook.php}"><span class="nav_item"><strong>{lang User_Reviews}</strong></span></a></li>
	<li><a id="special" href="{url_special.php}"><span class="nav_item"><strong>{lang news}</strong></span></a></li>
	<li><a id="discount" href="{url_discount.php}"><span class="nav_item"><strong>{lang Discount_information}</strong></span></a></li>
	<li><a id="free_postage" href="{url_free_postage.php}"><span class="nav_item"><strong>{lang SB}</strong></span></a></li>
	</ul>
	</div>
</div>
<div class="w960 header">
	<div class="contact left gray">
		<span class="c1"><a href="tencent://message/?uin={$cfg_index_qqlink}&Site=yi&Menu=yes">QQ客服</a></span>
		<span class="c2"><a href="msnim:chat?contact={$cfg_index_msnlink}">在线客服</a></span>
<span class="c3"><span>关注我：</span><a href="{$cfg_weibolink}" class="sina" target="_blank"></a><a href="{$cfg_facebooklink}" class="facebook" target="_blank"></a><a href="{$cfg_twitterlink}" class="twitter" target="_blank"></a></span>
		<span class="c4">服务时间：周一至周五8：30 - 20：00</span>
	</div>
	<div class="selectSkin left gray">请选择您喜欢的颜色:</div>
	<div class="skinList right" id="skinList">		
		<ul>
			<li id="def">
				<div><img alt="默认" src="{TPL}images/skinbt_h.gif"></div>
			</li>
			<li id="s1">
				<div><img alt="淡蓝" src="{TPL}images/skinbt_h.gif"></div>
			</li>
			<li id="s2">
				<div><img alt="宁夏" src="{TPL}images/skinbt_h.gif"></div>
			</li>
			<li id="s3">
				<div><img alt="新绿" src="{TPL}images/skinbt_h.gif"></div>
			</li>
			<li id="s4">
				<div><img alt="世博" src="{TPL}images/skinbt_h.gif"></div>
			</li>
			<li id="s5">
				<div><img alt="水墨" src="{TPL}images/skinbt_h.gif"></div>
			</li>
			<li id="s6">
				<div><img alt="星空" src="{TPL}images/skinbt_h.gif"></div>
			</li>
			<li id="s7">
				<div><img alt="春节" src="{TPL}images/skinbt_h.gif"></div>
			</li>
			<li id="s8">
				<div><img alt="咖啡" src="{TPL}images/skinbt_h.gif"></div>
			</li>
			<li id="s9">
				<div><img alt="紫色" src="{TPL}images/skinbt_h.gif"></div>
			</li>
		</ul>
	</div>
</div>
<!--
<div class="w960 ad_1">
	<img src="{TPL}images/banner_1.gif" alt="" />
</div>-->
<div class="clear top5"></div>